<!--
 * @Author: wangming
 * @Date: 2021-05-29 14:10:30
 * @LastEditors: wangming
 * @LastEditTime: 2022-03-10 09:56:49
 * @Description: file content
-->
<template>
  <div>
    <el-form-item label="单行显示个数">
      <el-radio-group v-model="value.__config.singleQuantity">
        <el-radio-button class="mb5" :key="2" :label="2">2个</el-radio-button>
        <el-radio-button class="mb5" :key="3" :label="3">3个</el-radio-button>
        <el-radio-button class="mb5" :key="4" :label="4">4个</el-radio-button>
        <el-radio-button class="mb5" :key="0" :label="0"
          >自定义</el-radio-button
        >
      </el-radio-group>
      <el-input-number
        v-if="!value.__config.singleQuantity"
        v-model="value.__config.singleQuantityCustom"
        controls-position="right"
        :min="1"
        :step="1"
        step-strictly
      ></el-input-number>
    </el-form-item>
    <el-form-item label="按钮位置">
      <el-radio-group v-model="value.__config.searchBtnPos">
        <el-radio :label="'right'">靠右</el-radio>
        <el-radio :label="'center'">居中</el-radio>
        <el-radio :label="'left'">靠左</el-radio>
      </el-radio-group>
    </el-form-item>
    <search-condition :value="value"></search-condition>
  </div>
</template>

<script>
import basicmixins from "../basicmixins";
import searchCondition from "./searchCondition/index";
export default {
  components: { searchCondition },
  mixins: [basicmixins],

  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>

<style lang="scss" scoped></style>
